<?php
if (!empty($activities)) :
    foreach($activities as $activity) :
        echo $this->Rss->item(array() , array(
            'title' => $activity['project_info']['name'],
            'link' => $activity['project_info']['url'],
            'description' => '<p>' . $activity['activity_info']['action']. '<br/><br/>'.$this->Html->cHtml($this->Html->truncate($activity['activity_info']['content'])) . 
			'<br/>' . '<img alt = "'.sprintf(__l('[Image: %s]'),  $activity['project_info']['name']).'" src="'.$activity['project_info']['image_url'].'" />',
			'pubDate' => $this->Html->cDateTime($activity['activity_info']['time'], false) ,
        ));
    endforeach;
endif;
?>

